import { request } from 'umi';

/**  地域  POST */
export async function pageArea(options?: any) {
  return request<BaseResponseBean.responsePage<DatahubAreaData.AreaPage[]>>('/datahub/area/page', {
    method: 'POST',
    data: options || {},
  });
}

/**  地域  POST */
export async function updateArea(options?: any) {
  return request<BaseResponseBean.response<string>>('/datahub/area/update', {
    method: 'POST',
    data: options || {},
  });
}
